const Router = require('koa-router')
const router = new Router()
const { docsReg, homeReg, notFindReg, pageReg } = require('../global')

router.get(docsReg, require('./docs'))
router.get(homeReg, require('./home'))
router.get(notFindReg, require('./404'))
router.get(pageReg, require('./page'))
// 引入路由
module.exports = router
